import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Device } from 'src/entities/Device';
import { DevicePortModule } from '../device-port/device-port.module';
import { MerchantModule } from '../merchant/merchant.module';
import { DeviceController } from './device.controller';
import { DeviceService } from './device.service';

@Module({
  imports : [TypeOrmModule.forFeature([Device]), DevicePortModule, MerchantModule],
  controllers: [DeviceController],
  providers: [DeviceService],
  exports : [DeviceService]
})
export class DeviceModule {}
